/*
 * Copyright 2012-2013 EZC Group S.A. RCS Luxembourg B140949
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.yobidrive.y3.v1.model;

/**
 * Represents a flow.
 *  
 * @author david
 *
 */
public class Flow {
	public String systemTs		= null; //Internal timestamp describing the moment at which those info were accurate (use to ask for updates)
	public String createdTs		= null;
	public String baseName	 	= null; //Base name of the flow 
	public String managerAlias 	= null;
	public String writerAlias 	= null;
	public String readerAlias	= null; 
	public boolean writeAccess  = false; //Can add files
	public boolean fullAccess  = false;  //Can delete events and get links
	
	public FlowEvent[] flowEvents	= null; //Event of the flow (without their content)

	//Additional info only set when using administrative calls
	public long ulCount = -1;
	public long dlCount = -1;
	public long totalSize = -1;
	public long totalTrf = -1;
	public FlowAccess[] flowAccess = null; //Last 10 access
}
